home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / DEV / A-B / add images.cpt / Source_1.h < prev    next >
Text File  |  1989-06-01  |  1KB  |  41 lines

  1. /* ===================================
  2.  
  3. File: Source_1.h
  4. Function: Header for this window
  5. History: 4/27/89 Original by Prototyper.  
  6.  
  7. ================================= */
  8.  
  9.  
  10. /* Initialize us so all our routines can be activated */
  11. void  Init_proton(void);
  12.  
  13. /* Open our window and draw everything */
  14. void  Open_proton(void);
  15.  
  16. /* Update our window, someone uncovered a part of us */
  17. void  UpDate_proton(WindowPtr  whichWindow);
  18. /* update also needs to handle getting the pixmap image onto the window */
  19.  
  20. /*  Handle action to our window, like controls  */
  21. void  Do_proton(EventRecord  *myEvent);
  22.  
  23. /*  Do window resizing, resize the scrollbars  */
  24. void  Resized_proton(WindowPtr  whichWindow);
  25.  
  26. /* -- we need activate and deactivate the window -- hiding scroll bars */
  27.  
  28. void read_proton(void);
  29. /* reads a PICT file and sets up the pixmap */
  30.  
  31. void paste_proton(void);
  32. /* paste a PICT from the clipboard and sets up the pixmap */
  33.  
  34. void grow_proton (Point * where, WindowPtr whichWindow);
  35. void zoom_proton (Point * where, WindowPeek whichWindow, short code);
  36. void activate_proton ( WindowPtr whichWindow, long modifiers);    
  37.  
  38. void clear_proton(void);
  39.  
  40. void crop_proton(void);
  41.